package com.zhcd.sys.service;

import com.zhcd.sys.pojo.Patient;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author feifei
 * @since 2021-11-29
 */
public interface PatientService extends IService<Patient> {
    //查询所有患者
    public List<Patient> getAll_Patient();
    //按照条件(患者姓名、医院名称、科室名称、医生名称)查询患者
    public List<Patient> getList_Patient(String patientname,String hospitalname,String departmentname,String doctorname);
    //添加患者
    public int ins_Patient(Patient patient);
    //删除患者信息
    public int del_Patient(int id);
    //修改患者信息
    public int upd_Patinet(Patient patient);
}
